home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 65.zip / BS1 part 65 / DevPac v3.02b.adf / include / exec / execbase.i < prev    next >
Text File  |  1991-11-20  |  5KB  |  153 lines

  1.     IFND    EXEC_EXECBASE_I
  2. EXEC_EXECBASE_I SET    1
  3. **
  4. **    $Filename: exec/execbase.i $
  5. **    $Release: 1.3 $
  6. **
  7. **    
  8. **
  9. **    (C) Copyright 1985,1986,1987,1988 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. **
  12.  
  13.     IFND EXEC_TYPES_I
  14.     INCLUDE "exec/types.i"
  15.     ENDC    ; EXEC_TYPES_I
  16.  
  17.     IFND EXEC_LISTS_I
  18.     INCLUDE "exec/lists.i"
  19.     ENDC    ; EXEC_LISTS_I
  20.  
  21.     IFND EXEC_INTERRUPTS_I
  22.     INCLUDE "exec/interrupts.i"
  23.     ENDC    ; EXEC_INTERRUPTS_I
  24.  
  25.     IFND EXEC_LIBRARIES_I
  26.     INCLUDE "exec/libraries.i"
  27.     ENDC    ; EXEC_LIBRARIES_I
  28.  
  29.  
  30. ******* Static System Variables **************************************
  31.  
  32.  STRUCTURE  ExecBase,LIB_SIZE        ; Standard library node
  33.  
  34.         UWORD    SoftVer        ; kickstart release number
  35.         WORD    LowMemChkSum    ; checksum of 68000 trap vectors
  36.         ULONG    ChkBase        ; system base pointer complement
  37.         APTR    ColdCapture    ; cold soft capture vector
  38.         APTR    CoolCapture    ; cool soft capture vector
  39.         APTR    WarmCapture    ; warm soft capture vector
  40.         APTR    SysStkUpper    ; system stack base   (upper bound)
  41.         APTR    SysStkLower    ; top of system stack (lower bound)
  42.         ULONG    MaxLocMem    ; last calculated local memory max
  43.         APTR    DebugEntry    ; global debugger entry point
  44.         APTR    DebugData    ; global debugger data segment
  45.         APTR    AlertData    ; alert data segment
  46.         APTR    MaxExtMem    ; top of extended mem, or null if none
  47.  
  48.         WORD    ChkSum        ; for all of the above
  49.  
  50.  
  51. ******* Interrupt Related ********************************************
  52.  
  53.         LABEL    IntVects  
  54.         STRUCT    IVTBE,IV_SIZE
  55.         STRUCT    IVDSKBLK,IV_SIZE
  56.         STRUCT    IVSOFTINT,IV_SIZE
  57.         STRUCT    IVPORTS,IV_SIZE
  58.         STRUCT    IVCOPER,IV_SIZE
  59.         STRUCT    IVVERTB,IV_SIZE
  60.         STRUCT    IVBLIT,IV_SIZE
  61.         STRUCT    IVAUD0,IV_SIZE
  62.         STRUCT    IVAUD1,IV_SIZE
  63.         STRUCT    IVAUD2,IV_SIZE
  64.         STRUCT    IVAUD3,IV_SIZE
  65.         STRUCT    IVRBF,IV_SIZE
  66.         STRUCT    IVDSKSYNC,IV_SIZE
  67.         STRUCT    IVEXTER,IV_SIZE
  68.         STRUCT    IVINTEN,IV_SIZE
  69.         STRUCT    IVNMI,IV_SIZE
  70.  
  71.  
  72. ******* Dynamic System Variables *************************************
  73.  
  74.         APTR    ThisTask    ; pointer to current task
  75.         ULONG    IdleCount    ; idle counter
  76.         ULONG    DispCount    ; dispatch counter
  77.         UWORD    Quantum        ; time slice quantum
  78.         UWORD    Elapsed        ; current quantum ticks
  79.         UWORD    SysFlags    ; misc system flags
  80.         BYTE    IDNestCnt    ; interrupt disable nesting count
  81.         BYTE    TDNestCnt    ; task disable nesting count
  82.  
  83.         UWORD    AttnFlags    ; special attention flags
  84.         UWORD    AttnResched    ; rescheduling attention
  85.         APTR    ResModules    ; pointer to resident module array
  86.  
  87.         APTR    TaskTrapCode    ; default task trap routine
  88.         APTR    TaskExceptCode    ; default task exception code
  89.         APTR    TaskExitCode    ; default task exit code
  90.         ULONG    TaskSigAlloc    ; preallocated signal mask
  91.         UWORD    TaskTrapAlloc    ; preallocated trap mask
  92.  
  93.  
  94. ******* System List Headers ******************************************
  95.  
  96.         STRUCT    MemList,LH_SIZE
  97.         STRUCT    ResourceList,LH_SIZE
  98.         STRUCT    DeviceList,LH_SIZE
  99.         STRUCT    IntrList,LH_SIZE
  100.         STRUCT    LibList,LH_SIZE
  101.         STRUCT    PortList,LH_SIZE
  102.         STRUCT    TaskReady,LH_SIZE
  103.         STRUCT    TaskWait,LH_SIZE
  104.  
  105.         STRUCT    SoftInts,SH_SIZE*5
  106.  
  107.         STRUCT    LastAlert,4*4
  108.  
  109.  
  110.         ;------ these next two variables are provided to allow
  111.         ;------ system developers to have a rough idea of the
  112.         ;------ period of two externally controlled signals --
  113.         ;------ the time between vertical blank interrupts and the
  114.         ;------ external line rate (which is counted by CIA A's
  115.         ;------ "time of day" clock).  In general these values
  116.         ;------ will be 50 or 60, and may or may not track each
  117.         ;------ other.  These values replace the obsolete AFB_PAL
  118.         ;------ and AFB_50HZ flags.
  119.         UBYTE    VBlankFrequency
  120.         UBYTE    PowerSupplyFrequency
  121.  
  122.         STRUCT    SemaphoreList,LH_SIZE
  123.  
  124.         ;------ these next two are to be able to kickstart into user ram.
  125.         ;------ KickMemPtr holds a singly linked list of MemLists which
  126.         ;------ will be removed from the memory list via AllocAbs.    If
  127.         ;------ all the AllocAbs's succeeded, then the KickTagPtr will
  128.         ;------ be added to the rom tag list.
  129.         APTR    KickMemPtr    ; ptr to queue of mem lists
  130.         APTR    KickTagPtr    ; ptr to rom tag queue
  131.         APTR    KickCheckSum    ; checksum for mem and tags
  132.  
  133.         STRUCT    ExecBaseReserved,10
  134.         STRUCT    ExecBaseNewReserved,20
  135.  
  136.         LABEL    SYSBASESIZE
  137.  
  138. ******* AttnFlags
  139. *  Processors and Co-processors:
  140.     BITDEF    AF,68010,0    ; also set for 68020
  141.     BITDEF    AF,68020,1
  142.     BITDEF    AF,68881,4
  143.  
  144. ; These two bits used to be AFB_PAL and AFB_50HZ.  After some soul
  145. ; searching we realized that they were misnomers, and the information
  146. ; is now kept in VBlankFrequency and PowerSupplyFrequency above.
  147. ; To find out what sort of video conversion is done, look in the
  148. ; graphics subsytem.
  149.     BITDEF    AF,RESERVED8,8
  150.     BITDEF    AF,RESERVED9,9
  151.  
  152.     ENDC    ; EXEC_EXECBASE_I
  153.